home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
mac
/
PageMaker 6.5 SDK Mac
/
SourceCode
/
PageMakerClassLibrary
/
Commands
/
PNewLayer.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1996-08-19
|
910b
|
40 lines
/*
*--- PNewLayer.cpp --------------------------------------------------------
* Copyright (c) 1995-96 Adobe Systems Incorporated. All rights reserved.
* Created on Sun, Oct 22, 1995 @ 3:29 PM by Paul Ferguson.
*
* Description: For notes about this class, refer to the
* PCL documentation file PNewLayer.html
*-------------------------------------------------------------------------
*/
#include "PNewLayer.h"
#include "PRequestBuf.h"
#include "PCommand.h"
PNewLayer::PNewLayer(
const char * sLayerName,
short nShow,
short nLock,
short nColorIndex,
long lRed,
long lGreen,
long lBlue)
{
PRequestBuf request(strlen(sLayerName) + 20);
request << sLayerName
<< nShow
<< nLock
<< nColorIndex
<< lRed
<< lGreen
<< lBlue;
PCommand command(pm_newlayer, request);
}
// end of PNewLayer.cpp